package mapper;

import po.Segment;
import po.SegmentStrategy;
import po.SegmentStrategyCustom;

import java.util.List;

public interface SegmentStrategyMapper {
    public List<SegmentStrategy> findAllSegmentStrategies() throws Exception;
    public List<SegmentStrategyCustom> findAllSegmentStrategyCustom() throws Exception;
    public void addSegmentStrategy(SegmentStrategy segmentStrategy) throws Exception;
    public void deleteSegmentStrategyById(int id) throws Exception;
    void updateSegmentStrategyById(SegmentStrategy segmentStrategy) throws Exception;
    public void addSegment(Segment segment) throws Exception;
    public void deleteSegment(Segment segment) throws Exception;
}
